#pragma once

#include <e32std.h>
#include <s32mem.h>

#include "Settings.h"

class TAutolockSettings
{ 
public:	
	~TAutolockSettings();
	void LoadSettingsL();
	void LoadSettingsL(RDesReadStream& aDesStream);
	void SaveSettingsL();
	void SaveSettingsL(RDesWriteStream& aDesStream);
	TInt SizeInBytes();
	enum TSettingIds
	{
		EAutoLockEnabled = 100, 
		ETimeOut, 
		EAppLock,
		EAppList,
		ELockWhenIdle,
		EProfileList,
		ECustomProfiles
	};
public:
	TBool iAutoLockEnabled;
	TInt iCustomProfiles;
	TTimeIntervalSeconds iTimeOut;
	TBool iLockWhenIdle;
	RArray<TUid> iAppList;
	TMyIntArray iProfileList;
};
